.canvas-wrapper {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  background-color: transparent;
}

.canvas-wrapper canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* 添加拖拽状态样式 */
.canvas-wrapper.drag-over {
  cursor: copy;
}

.canvas-wrapper.drag-over canvas {
  pointer-events: none;
}

.canvas-controls {
  position: fixed;
  top: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background-color: rgba(0, 0, 0, 0.7);
  padding: 15px;
  border-radius: 8px;
  z-index: 1000;
}

.control-group {
  display: flex;
  align-items: center;
  gap: 10px;
  color: white;
}

.control-group span {
  white-space: nowrap;
}

.control-group input[type="range"] {
  width: 100px;
  cursor: pointer;
}

.control-group button {
  padding: 6px 12px;
  border: none;
  border-radius: 4px;
  background-color: #4a4a4a;
  color: white;
  cursor: pointer;
  transition: background-color 0.2s;
}

.control-group button:hover {
  background-color: #5a5a5a;
}

.click-through-btn.active {
  background-color: #00a8ff;
}

.click-through-btn.active:hover {
  background-color: #0097e6;
}

.drop-zone {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s;
}

.canvas-wrapper.drag-over .drop-zone {
  opacity: 1;
  background-color: rgba(0, 0, 0, 0.5);
  pointer-events: auto;
}

.drop-zone-text {
  color: white;
  font-size: 24px;
  padding: 20px;
  border: 2px dashed rgba(255, 255, 255, 0.5);
  border-radius: 8px;
  background-color: rgba(0, 0, 0, 0.3);
}

.canvas-wrapper.panning {
  cursor: grabbing;
}

.canvas-wrapper.panning canvas {
  cursor: grabbing;
} 